#pragma once

//#include <vld.h>
#include "templatevector.h"
#include <stdio.h>
#include <Windows.h>
#define CANNOT_OPEN_FILE 22

class FileParser
{
private:
	FILE * pFile;
public:
	//Prints the entire file to a vector<char*>
	int printFileToVector(TemplateVector<char*> & a_out, char* a_source);
	//Prints to a_out only what comes after a_symbol until a \n to a vector
	int printFileToVector(TemplateVector<char*> & a_out, char a_symbol, char* a_source);
	//Prints to a_out what doesn't come after any of the sumbols in a_symbols
	int printFileToVector(TemplateVector<char*> & a_out, char* a_symbols, char* a_source);
};